home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Grafik / BMP2SPEC / BMP2SPEC.TXT < prev    next >
Text File  |  1998-06-21  |  7KB  |  181 lines

  1. BMP2SPEC version 1.0
  2. Written by the Infamous Blood!
  3. (C)1996 Cheese Freak Software
  4.  
  5.  
  6. Welcome to BMP2SPEC! This software won't change your life, but with a
  7. bit of luck someone other than myself will find it useful. Please read
  8. this file thoroughly before trying to use the prog, or you may end up
  9. disappointed! And if you have any comments, see the email info at the
  10. end to drop me a line! Ta.
  11.  
  12.  
  13. What is BMP2SPEC?
  14. -----------------
  15. It's a small DOS prog, run from the command line (but it could be
  16. compiled on other platforms, the C source code is included). As input,
  17. it takes a Microsoft Windows .BMP format picture, and as output it 
  18. produces a .TAP file which can be loaded into your Spectrum emulator
  19. (or real Speccy). In other words, it's a fast way of getting PC pictures
  20. onto your Speccy.
  21.  
  22.  
  23. What do I need to use it?
  24. -------------------------
  25. You'll need the following :
  26.  
  27. The BMP2SPEC software! (obvious really)
  28. A PC to run the binary, or a compiler to compile the source for your machine
  29. A way of loading .TAP files (i.e. a Spectrum emulator such as Z80)
  30. A way of manipulating image files into a certain .BMP format
  31.     (I use Paint Shop Pro on my PC under Windows)
  32. Some Pictures!
  33.  
  34.  
  35. What are the included files?
  36. ----------------------------
  37. BMP2SPEC EXE - A PC Binary version of BMP2SPEC
  38. BMP2SPEC C   - The C source code for BMP2SPEC
  39. BMP2SPEC H   - A (very) small header file to accompany the source
  40. BMP2SPEC TXT - The documentation file
  41. MDRAW    Z80 - A copy of Melbourne Draw, in .Z80 format, for editing pics
  42. EXAMPLES TAP - A .TAP file full of example screens
  43.  
  44. The examples are in the following order:
  45. JSW      - A section of the Jetset Willy tape cover, scanned into the PC
  46.        and quite successfully ported to the Speccy.
  47. JETPAC   - The Jetpac tape cover, scanned into the PC and not so
  48.        successfully ported to the Speccy!
  49. LAKE     - An example of how NOT to port a piccy to the Speccy. This had
  50.        just too many colours in it to look nice. Looks better from a
  51.        distance!
  52. CHIPHEAD - A raytraced PC picture from a PC Format coverdisk, reduced
  53.        and squished onto the Speccy screen. Not bad!
  54. NASTY    - My favourite. A picture of Richie and Eddie from Bottom! On
  55.        your Speccy!
  56.  
  57. These examples can all be loaded into the Speccy using LOAD "" SCREEN$.
  58. Have a look at them - they're fun!
  59.  
  60.  
  61. What do I do now?
  62. -----------------
  63. Here's a step by step guide to getting a picture (in this case, the
  64. Jetset Willy cover .JPG file from NVG) onto your Speccy screen.
  65.  
  66. 1. Get the image you want to use and load it into your computer's image
  67. manipulation software.
  68.  
  69. 2. It's probably too big for the Speccy screen, so scale it down to
  70. 256x192 resolution. This may make it look crap, in which case you'd
  71. better only use part of the image.
  72.  
  73. 3. Lower the colour mode of the picture to 2. This means the picture
  74. must be converted to black and white. With Paint Shop Pro, you would
  75. choose Colours-->Decrease Colour Depth-->2 Colours. PSP provides a lot
  76. of options to make your 2 colour images look nice! Basically, if it
  77. looks awful on the PC screen, it'll look worse on the Speccy! Try and
  78. get the image looking as good as possible before proceeding!
  79.  
  80. 4. Save the image as a .BMP file (Windows compatible Bitmap). This
  81. should be EXACTLY 6206 bytes long. If it isn't, you've gone wrong
  82. somewhere. We'll call the file JSW.BMP.
  83.  
  84. 5. Run BMP2SPEC using the following command line :
  85.     BMP2SPEC JSW.BMP JSW.TAP
  86.  
  87. 6. Wait for BMP2SPEC to finish (should only take a few seconds). Once
  88. this is done, a file called JSW.TAP should have been created.
  89.  
  90. 7. Start your emulator (I'm assuming you're using Z80). Set the tape
  91. input file to be JSW.TAP. If you now browse this file, you should see
  92. there is a single file called 'screen'.
  93.  
  94. 8. Drop to Speccy BASIC and type :
  95.     LOAD "" SCREEN$: PAUSE 0
  96.  
  97. 9. The screen will now load and you can view at your leisure!
  98.  
  99.  
  100. Restrictions
  101. ------------
  102. The program isn't very brainy. It only does some number crunching. In
  103. other words, it won't scale your pictures for you, it won't clip them,
  104. it won't handle colour pictures and it won't handle any format other
  105. than .BMP. It'll tell you if something goes wrong, but the error
  106. messages aren't too helpful (unless you're me, that is...).
  107.  
  108. If you feed it a colour bitmap, or one that's too large, or something
  109. that isn't a bitmap, BMP2SPEC won't complain. It will, however, produce
  110. garbage. You know the old saying - Garbage in, Garbage out....
  111.  
  112.  
  113. Other Uses
  114. ----------
  115. The produced Speccy pictures can be used just as normal Speccy pictures
  116. can! In other words, there's no reason not to edit them further once
  117. they're on the Speccy. I've included a snapshot of Melbourne Draw, which
  118. is pretty good for colouring the pictures in once you've got them onto
  119. the Speccy!
  120.  
  121. Using this program, it's also a real possibility to produce all of your
  122. Sprites for a Speccy game on a PC using whichever graphical tools you
  123. like, and then port them over to the Speccy.
  124.  
  125.  
  126. Future Updates
  127. --------------
  128. Possible, but not pressing :
  129.  
  130. Let you name the SCREEN$!
  131. Let you decide on the paper/ink colours of the image.
  132. Better error trapping.
  133.  
  134.  
  135. Legal Stuff
  136. -----------
  137. Sorry, but I prefer this to be here to save my hide!
  138.  
  139. This software is provided as is. In other words, if it works for you
  140. fine. If it doesn't, then ask me questions but I'm not a support
  141. helpline. This is free software after all.
  142.  
  143. The source code for this software is included for free. If you want to
  144. alter it or add to it or point out where I've included some crap code
  145. which could've been done better, then fine. However, please don't
  146. distribute modified versions of this program without asking me first.
  147. And definitely don't put your name on it and pretend it's your program.
  148. Alright? The source isn't very well documented, it's not supposed to be
  149. a C tutorial. Please don't ask me questions about it.
  150.  
  151. This software has been checked out and tested and seems to be okay on MY
  152. machine. If it wipes your hard drive, blows up your computer, or
  153. destroys the universe, then it's not my responsibility. It's yours. So
  154. don't whinge.
  155.  
  156. Finally, this software should ALWAYS be FREE! Don't even pay for the
  157. price of a disk for this, 'cos it's only small and it's not even worth
  158. 50p. And if a magazine or one of those 'whack a load of files from the
  159. Internet on a CD and sell it for twenty-quid' merchants wants to use
  160. this program to make cash then YOU CAN'T! Sod off. This is a program for
  161. the people, not the businessmen. Humph.
  162.  
  163.  
  164. And Finally...
  165. --------------
  166. I'd like to hear if anyone makes any use of this program. It's not
  167. earth-shattering, but it works for me and I use it occasionally. If you
  168. find any bugs, or you'd like to see a new feature, or you make a nice
  169. picture that you'd like to show me, or you just love this little piece
  170. of C, then drop me a note at :
  171.  
  172. l.d.tonks@bra0202.wins.icl.co.uk
  173.  
  174. I'm always happy to hear from Speccy fans!
  175.  
  176.  
  177. May your lives be free of Tape Loading Errors!
  178.  
  179. Blood.
  180. 12th February, 1996
  181.